package com.sx.pipeline.app.config

import com.sx.mvvmlibs.http.impl.IBaseResponse

/**
 * @Author: YY
 * @Date: 2022/4/22
 * @Description: TODO
 */
data class BaseEntity<T>(
    var msg: String?,
    var code: Int,
    var data: T?,
): IBaseResponse<T> {

    override fun code():Int = code

    override fun msg(): String? = msg

    override fun data(): T? = data

}
